package cn.zhangxin.pethome.system.department.service;

import cn.zhangxin.pethome.base.service.IBaseService;
import cn.zhangxin.pethome.system.department.domain.Department;

import java.util.List;

public interface IDepartmentService extends IBaseService<Department> {
    //增加
    void add(Department department);
    //删除
    void delete(Long id);
    //修改
    void update(Department department);
    //无限级树
    //children 必须使用该名字 elementui要用
    List<Department> getTree();
}
